Learn R Programming

MuMIn (version 1.9.5)

Model utilities: Model utility functions

Description

These functions extract or calculate various values from provided fitted model objects(s). They are mainly meant for internal use, but may be also useful for end-users.

beta.weights computes standardized coefficients (beta weights) for a model;

coeffs extracts model coefficients;

getAllTerms extracts independent variable names from a model object;

coefTable extracts a table of coefficients, standard errors and associated degrees of freedom when possible;

model.names generates shorthand (alpha)numeric names for one or several fitted models;

Usage

beta.weights(model)

coeffs(model)

getAllTerms(x, ...) ## S3 method for class 'terms': getAllTerms(x, offset = TRUE, intercept = FALSE, ...)

coefTable(model, ...) ## S3 method for class 'lme': coefTable(model, adjustSigma, ...) ## S3 method for class 'gee': coefTable(model, ..., type = c("naive", "robust"))

model.names(object, ..., labels = NULL, use.letters = FALSE)

Arguments

model
a fitted model object.
object
a fitted model object or a list of such objects.
x
a fitted model object or a formula.
offset
should offset terms be included?
intercept
should terms names include the intercept?
labels
optionally, a character vector with names of all the terms, e.g. from a global model. model.names enumerates the model terms in order of their appearance in the list and in the models. So, changing the order of the models would lead to dif
...
for model.names, more fitted model objects. For coefTable arguments that are passed to appropriate summary method (e.g. dispersion parameter for glm may be used here). In other functions
use.letters
logical, whether letters should be used instead of numeric codes.
type
for GEE models, the type of covariance estimator to calculate returned standard errors on. Either "naive" or "robust" (sandwich).
adjustSigma

encoding

utf-8

newcommand

\href

Details

The functions coeffs, getAllTerms and coefTable provide interface between the model object and model.avg (and dredge). Custom methods can be written to provide support for additional classes of models.